{OVERALL_HEADER}
    <div id="maincontainer">
        <div id="newsbar">
            <div class="newstitle">
                {LANG_EDITPROFILE}
            </div>
        </div>
    </div>
	<div class="aclear"></div>
	<div id="container">
        <div id="headerbar"></div>
            <div class="aclear"></div>
            <div id="main">
                <div class="maincontent">
<a href="editprofile.php?cmd=details">{LANG_EDITPROFILE}</a> | <a href="editprofile.php?cmd=avatar">{LANG_MANAVATAR}</a>
      <br>
	  
        <br>
      
      <form action="editprofile.php" method="post" enctype="multipart/form-data" name="form1" style="padding:0px;margin:0px;">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><strong>{LANG_YOURAVATAR}</strong></td>
          </tr>
        <tr>
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="80" height="80">
			  IF("{AVATAR}"=="0"){<img src="{SITE_URL}templates/{TPL_NAME}/images/noavatar64x64.gif" width="64" height="64">{:IF}
			  IF("{AVATAR}"=="1"){<img src="{SITE_URL}{AVATAR_PATH_LARGE}" width="64" height="64">{:IF}
			  </td>
              <td>IF("{AVATAR}"=="1"){<a href="editprofile.php?cmd=avatar&remove=1">{LANG_CLICKHERE}</a> {LANG_REMCURRENT}{:IF}</td>
            </tr>
          </table></td>
          </tr>
        <tr>
          <td>&nbsp;</td>
          </tr>
        <tr>
          <td><strong>{LANG_CHANGEAVATAR} </strong></td>
          </tr>
        <tr>
          <td height="30"><input name="avatarfile" type="file" id="avatarfile" size="50"></td>
          </tr>
        <tr>
          <td height="30"><input type="submit" name="Submit" value="{LANG_UPAVATAR}">
            <input name="cmd" type="hidden" id="cmd" value="avatar"></td>
          </tr>
      </table>
      
    </form>
    </form>
                </div>
            </div>
        </div>
		<div class="rightcontent">
            <h3><a href="{SITE_URL}add_story.php"><img src="{SITE_URL}/templates/{TPL_NAME}/images/submit.gif" width="241" height="53" border="0" alt="{LANG_ADDSTORY}" /></a></h3>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <br />
            <br />
        </div>
        <div class="aclear">
        </div>
    </div>
{OVERALL_FOOTER}